Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Email notification

Not very hard, just add a check and then generate a mail.
One easy way to generate email is by using this class that I wrote:
http://blog.texasswede.com/lotusscript-mail-notification-class/

Your code would look something like this:


If doc.GetItemValue("YourField")(0)="AlertValue" Then
' *** Create a mail
Set mail = New NotesMail()
' Set receipient and subject
mail.MailTo = "texasswede@example.com"
Call mail.AddMailTo("texasswede2@example.com")
mail.Subject = "Please Read This"
mail.Principal = "bogus_user@example.com"
' Create body
Call mail.AppendText("Testing email...")
Call mail.AppendNewLine(2)
Call mail.Send()
End If


Feedback response number WEBB9SHTE9 created by ~Dan Kikiterobu on 01/06/2015

Generate email from a forum (~Tip Lophipison... 6.Jan.15)
. . Email notification (~Dan Kikiterobu... 6.Jan.15)
. . . . Response to WEBB9SJQU9 (~Tip Lophipison... 7.Jan.15)
. . . . . . Loop through the documents (~Dan Kikiterobu... 8.Jan.15)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS